import request from "../utils/fetch";
export function list(data) {
  return request({
    url: "/api/banner/api/list",
    method: "get",
    requestBody: "query",
    loading: true,
    params: data
  });
}
export function getTeacherCourseList(data) {
  return request({
    url: "/api/banner/api/list",
    method: "get",
    requestBody: "query",
    loading: true,
    params: data
  });
}

export function getNoticeList(data) {
  return request({
    url: "/api/msg/getNoticeList",
    method: "get",
    requestBody: "query",
    loading: true,
    params: data
  });
}
